package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author deep
 * @version 1.0 on 2020-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("load_customer_temp")
@ApiModel(value="LoadCustomerTempEntity对象", description="")
public class LoadCustomerTempEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "LCT_ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "批次表ID")
    @TableField("LCT_LDB_ID")
    private Long ldbId;

    @ApiModelProperty(value = "经销商ID")
    @TableField("LCT_DEL_ID")
    private Long delId;

    @ApiModelProperty(value = "客户手机号")
    @TableField("LCT_CELLPHONE")
    private String cellphone;

    @ApiModelProperty(value = "客户标签，以中文逗号分隔")
    @TableField("LCT_CUSTOMER_LABLE")
    private String customerLable;

    @ApiModelProperty(value = "错误描述")
    @TableField("LCT_ERROR_MSG")
    private String errorMsg;

    @ApiModelProperty(value = "有效标识，Y/N")
    @TableField("LCT_VALID_FLAG")
    private String validFlag;

    @ApiModelProperty(value = "标签代码")
    @TableField("LCT_TAG_CODE")
    private String tagCode;

    @ApiModelProperty(value = "关联表ID")
    @TableField("LCT_REF_UNIQUE_KEY")
    private String refUniqueKey;

    @ApiModelProperty(value = "关联表ID")
    @TableField("LCT_REF_CUSTOMER_ID")
    private String refCustomerId;


    public static final String LCT_ID = "LCT_ID";
    public static final String LCT_LDB_ID = "LCT_LDB_ID";
    public static final String LCT_DEL_ID = "LCT_DEL_ID";
    public static final String LCT_CELLPHONE = "LCT_CELLPHONE";
    public static final String LCT_CUSTOMER_LABLE = "LCT_CUSTOMER_LABLE";
    public static final String LCT_ERROR_MSG = "LCT_ERROR_MSG";
    public static final String LCT_VALID_FLAG = "LCT_VALID_FLAG";
    public static final String LCT_TAG_CODE = "LCT_TAG_CODE";
    public static final String LCT_REF_UNIQUE_KEY = "LCT_REF_UNIQUE_KEY";
    public static final String LCT_REF_CUSTOMER_ID = "LCT_REF_CUSTOMER_ID";
}
